﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>旋转按钮</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        li{
            list-style: none;
        }
        img{
            vertical-align: middle;
        }
        a{
            text-decoration: none;
        }
        .clearfix:after{
            display: table;
            content: "";
            clear: both;
        }
        .fl{
            float: left;
        }
        .fr{
            float: right;
        }
        .box{
            width: 600px;
            margin: 20px auto;
        }
        .box ul{
            margin-top: 20px;
        }
        .box li img{
            margin: 10px;
        }
        .box li img:hover{
            transform: scale(1.2) rotate(360deg);
            transition: all 2s linear;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="title">
            <h1>顺时针旋转360度放大1.2倍</h1>
        </div>
        <ul class="clearfix">
            <li><a href="#"><img src="image/delicious.png" class="fl"/> </a> </li>
            <li><a href="#"><img src="image/facebook.png" class="fl"/> </a> </li>
            <li><a href="#"><img src="image/rss.png" class="fl"/> </a> </li>
            <li><a href="#"><img src="image/twitter.png" class="fl"/> </a> </li>
            <li><a href="#"><img src="image/yahoo.png" class="fl"/> </a> </li>
        </ul>
    </div>
</body>
</html>